
package com.lottery.dao;

import java.util.List;

import com.lottery.dao.Dao;
import com.lottery.model.Lottery638;

public interface Lottery638Dao extends Dao {

    /**
     * Retrieves all of the lottery638s
     */
    public List getLottery638s(Lottery638 lottery638);

    /**
     * Gets lottery638's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the lottery638's id
     * @return lottery638 populated lottery638 object
     */
    public Lottery638 getLottery638(final Long id);

    /**
     * Saves a lottery638's information
     * @param lottery638 the object to be saved
     */    
    public void saveLottery638(Lottery638 lottery638);

    /**
     * Removes a lottery638 from the database by id
     * @param id the lottery638's id
     */
    public void removeLottery638(final Long id);
}

